package com.fm.webrtc.websocket.message.response;

import com.fm.webrtc.websocket.message.Base;
import com.fm.webrtc.websocket.message.transport.DtlsParameters;
import com.fm.webrtc.websocket.message.transport.IceCandidates;
import com.fm.webrtc.websocket.message.transport.IceParameters;
import com.fm.webrtc.websocket.message.transport.SctpParameters;

import java.util.Arrays;

public class CreateTransportResponse extends Base {
    public String id;

    public boolean isConsumer;
    public DtlsParameters dtlsParameters;
    public IceCandidates[] iceCandidates;
    public IceParameters iceParameters;
    public SctpParameters sctpParameters;

    @Override
    public String toString() {
        return "CreateTransportResponse{" +
                "isConsumer=" + isConsumer +
                ", id='" + id + '\'' +
                ", dtlsParameters=" + dtlsParameters +
                ", iceCandidates=" + Arrays.toString(iceCandidates) +
                ", iceParameters=" + iceParameters +
                ", sctpParameters=" + sctpParameters +
                '}';
    }

}
